
// 引入mockjs
import Mock from 'mockjs';
 
// 拦截请求，模拟接口url和数据
Mock.mock("/api/list", "get", {
	message: "success",
    code: 200,
    data: {
        name: "xxx",
        age:18
    }
})